package com.amado.course18Queue;
/**
 * 队列,先进先出
 * @author Administrator
 *
 */
public class Queue {
	private String name;
	/**
	 * 下一个节点
	 */
	private Queue next;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Queue getNext() {
		return next;
	}
	public void setNext(Queue next) {
		this.next = next;
	}
	
}
